package com.hot100.mid;

/**
 * @author zhengTao
 * @version 1.0
 * @description:  二叉树展开为链表
 * @date 2022/8/28 15:11
 */
public class Demo29 {


    /**
     * Definition for a binary tree node.
     * */
    public class TreeNode {
        int val;
        Demo28.TreeNode left;
        Demo28.TreeNode right;
        TreeNode() {}
        TreeNode(int val) { this.val = val; }
        TreeNode(int val, Demo28.TreeNode left, Demo28.TreeNode right) {
            this.val = val;
            this.left = left;
            this.right = right;
        }
    }


}
